package com.mt.edu.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 类名称：Category <br>
 * 类描述：类别（1:试题分类、2:练习分类、3:课件分类、4:课程分类）<br>
 * 创建人： 马腾 <br>
 * 创建时间：Apr 28, 2014 8:44:16 PM <br>
 * 修改人： 马腾 <br>
 * 修改时间：Apr 28, 2014 8:44:16 PM <br>
 */
@Entity
@Table(name="OL_CATEGORY")
public class Category implements Serializable {

	private static final long serialVersionUID = 3750194126225001625L;
	
	@Id
	@Column(name = "CATEGORY_ID")
	private String id;
	
	@Column(name = "CATEGORY_NAME")
	private String name;
	
	@Column(name = "CATEGORY_DESC")
	private String desc;
	
	/**分类类型：1:试题分类、2:练习分类、3:课件分类、4:课程分类*/
	@Column(name = "CATEGORY_TYPE")
	private Short type;
	
	@Column(name = "RESERVED1")
	private String reserved1;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public Short getType() {
		return type;
	}

	public void setType(Short type) {
		this.type = type;
	}

	public String getReserved1() {
		return reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}
}
